package com.fuluwa.domain.order.service;

import java.util.Set;

import com.fuluwa.domain.order.model.Order;
import com.fuluwa.domain.order.model.OrderItem;
import com.fuluwa.domain.order.model.PayType;
import com.fuluwa.infra.exception.PersistenceException;

public interface OrderService {

	public Order createNewOrder(String seller, String remark, PayType payType, Set<OrderItem> items)
			throws PersistenceException;

	public void payment(String orderNo) throws PersistenceException;

	public void confirm(String orderNo) throws PersistenceException;

	public void complete(String orderNo) throws PersistenceException;

	public void cancel(String orderNo) throws PersistenceException;
}
